/*! \file    record.h
 * \author   Lorenzo Miniero <lorenzo@meetecho.com>
 * \copyright GNU General Public License v3
 * \brief    Audio/Video recorder (headers)
 * \details  Implementation of a simple recorder utility that plugins
 * can make use of to record audio/video frames to a Janus file. This
 * file just saves RTP frames in a structured way, so that they can be
 * post-processed later on to get a valid container file (e.g., a .opus
 * file for Opus audio or a .webm file for VP8 video) and keep things
 * simpler on the plugin and core side.
 * \note If you want to record both audio and video, you'll have to use
 * two different recorders. Any muxing in the same container will have
 * to be done in the post-processing phase.
 * 
 * \ingroup core
 * \ref core
 */
 
#ifndef _JANUS_POSTPROCESSING_H
#define _JANUS_POSTPROCESSING_H

#include <inttypes.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>

void janus_processer_init(void);
void janus_processer_deinit(void);
void janus_processer_incoming_task(const char* filename, const char* dir, 
	const char* codec, const int type,
	const char* business_model, const char* business_id);

#endif
